<%@ page import="java.nio.charset.StandardCharsets" %><%--
  Created by IntelliJ IDEA.
  User: 28064
  Date: 2022/3/18
  Time: 15:51
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page errorPage="errorHandler.jsp" %>
<html>
<head>
    <title>hello</title>
</head>
<body>
<%
    String name = request.getParameter("name");
    if (name == null) {
        throw new RuntimeException("没有指定name 属性");
    }
    else
    java.net.URLDecoder.decode(name, "utf-8");
%>
hello,<%= name%>
</body>
</html>
